import service from '@/utils/request'

const MchInfoApi = {
  // ----------------微信商户号-----------------
  listMchInfo:function(data){
    return service.get('mchInfo/page', {params:data})
  },
  addMchInfo:function(data){
    return service.post('mchInfo', data)
  },
  editMchInfo:function(data){
    return service.put('mchInfo', data)
  },
  updateMchInfoState:function(data){
    return service.put('mchInfo/updateMchInfoState', data)
  },
  deleteMchInfo:function(data){
    return service.put('mchInfo/delete', data)
  },
  getMchInfo(data){
    return service.get('mchInfo', {params:data})
  },

}

export default MchInfoApi
